package cdu.xjj.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class EmpQueryParam {
    private Integer page=1;//页码
    private Integer pageSize=10;//每页记录数
    private String name;//姓名
    private Integer gender;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    private LocalDate end;

}
